<template>
  <div id="latory_id">
    <el-container>
      <el-aside width="200px">
        <h1>
          <img src="../assets/logo-white.png" alt />
        </h1>
        <Ltft></Ltft>
      </el-aside>
      <el-container>
        <el-header>
          <Top></Top>
        </el-header>
        <el-main>
          <el-card class="box-card">
            <router-view></router-view>
          </el-card>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Ltft from "../views/Left.vue";
import Top from "../views/Top.vue";
export default {
  components: {
    Ltft,
    Top
  }
};
</script>

<style>
#latory_id h1 {
  margin: 10px 0 20px;
}
* {
  margin: 0;
  padding: 0;
}
.el-header {
  background-color: #fff;
  text-align: right;
  line-height: 60px;
}

.el-aside {
  background-color: rgb(255, 90, 59);
  color: #333;
  text-align: center;
  min-height: 100vh;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
}

body > .el-container {
  margin-bottom: 40px;
}
</style>